package com.qf.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ASUS
 * @version V1.0
 * @Project SpringCloud
 * @Package com.qf.controller
 * @Date 2021/11/9 23:30
 */
@RestController
public class AirSearchController {

    @Value("${server.port}")
    private int port;

    @GetMapping("/air/search")
    public String search(){
        return "Hello AirSearch:" + port;
    }
}
